package com.coda.clouddisk;

import com.coda.clouddisk.properties.JwtProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@MapperScan("com.coda.clouddisk.mapper")
//@ComponentScan({"com.coda.clouddisk.controller", "com.coda.clouddisk.service"})
@EnableConfigurationProperties({JwtProperties.class})
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class CloudDiskApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudDiskApplication.class, args);
    }

}
